/*
 * VoidExpression.java
 *
 * Created on March 2, 2007, 10:51 AM
 *
 * (C) R. Alexander Milowski alex@milowski.com
 */

package com.smallx.xpath.parser;

/**
 *
 * @author R. Alexander Milowski
 */
public class VoidExpression implements Expression {
   
   Operator operator;
   /** Creates a new instance of VoidExpression */
   public VoidExpression(Operator operator) {
      this.operator = operator;
   }
   
   public Operator getOperator() {
      return operator;
   }
   
   public String toString() {
      return "("+operator+")";
   }
   
}
